package com.xhs.main.entity.yfb;

import java.util.ArrayList;
import java.util.List;

public class YfbTestExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public YfbTestExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andYfbTestIdIsNull() {
            addCriterion("yfb_test_id is null");
            return (Criteria) this;
        }

        public Criteria andYfbTestIdIsNotNull() {
            addCriterion("yfb_test_id is not null");
            return (Criteria) this;
        }

        public Criteria andYfbTestIdEqualTo(Integer value) {
            addCriterion("yfb_test_id =", value, "yfbTestId");
            return (Criteria) this;
        }

        public Criteria andYfbTestIdNotEqualTo(Integer value) {
            addCriterion("yfb_test_id <>", value, "yfbTestId");
            return (Criteria) this;
        }

        public Criteria andYfbTestIdGreaterThan(Integer value) {
            addCriterion("yfb_test_id >", value, "yfbTestId");
            return (Criteria) this;
        }

        public Criteria andYfbTestIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("yfb_test_id >=", value, "yfbTestId");
            return (Criteria) this;
        }

        public Criteria andYfbTestIdLessThan(Integer value) {
            addCriterion("yfb_test_id <", value, "yfbTestId");
            return (Criteria) this;
        }

        public Criteria andYfbTestIdLessThanOrEqualTo(Integer value) {
            addCriterion("yfb_test_id <=", value, "yfbTestId");
            return (Criteria) this;
        }

        public Criteria andYfbTestIdIn(List<Integer> values) {
            addCriterion("yfb_test_id in", values, "yfbTestId");
            return (Criteria) this;
        }

        public Criteria andYfbTestIdNotIn(List<Integer> values) {
            addCriterion("yfb_test_id not in", values, "yfbTestId");
            return (Criteria) this;
        }

        public Criteria andYfbTestIdBetween(Integer value1, Integer value2) {
            addCriterion("yfb_test_id between", value1, value2, "yfbTestId");
            return (Criteria) this;
        }

        public Criteria andYfbTestIdNotBetween(Integer value1, Integer value2) {
            addCriterion("yfb_test_id not between", value1, value2, "yfbTestId");
            return (Criteria) this;
        }

        public Criteria andYfbTestItemIdIsNull() {
            addCriterion("yfb_test_item_id is null");
            return (Criteria) this;
        }

        public Criteria andYfbTestItemIdIsNotNull() {
            addCriterion("yfb_test_item_id is not null");
            return (Criteria) this;
        }

        public Criteria andYfbTestItemIdEqualTo(String value) {
            addCriterion("yfb_test_item_id =", value, "yfbTestItemId");
            return (Criteria) this;
        }

        public Criteria andYfbTestItemIdNotEqualTo(String value) {
            addCriterion("yfb_test_item_id <>", value, "yfbTestItemId");
            return (Criteria) this;
        }

        public Criteria andYfbTestItemIdGreaterThan(String value) {
            addCriterion("yfb_test_item_id >", value, "yfbTestItemId");
            return (Criteria) this;
        }

        public Criteria andYfbTestItemIdGreaterThanOrEqualTo(String value) {
            addCriterion("yfb_test_item_id >=", value, "yfbTestItemId");
            return (Criteria) this;
        }

        public Criteria andYfbTestItemIdLessThan(String value) {
            addCriterion("yfb_test_item_id <", value, "yfbTestItemId");
            return (Criteria) this;
        }

        public Criteria andYfbTestItemIdLessThanOrEqualTo(String value) {
            addCriterion("yfb_test_item_id <=", value, "yfbTestItemId");
            return (Criteria) this;
        }

        public Criteria andYfbTestItemIdLike(String value) {
            addCriterion("yfb_test_item_id like", value, "yfbTestItemId");
            return (Criteria) this;
        }

        public Criteria andYfbTestItemIdNotLike(String value) {
            addCriterion("yfb_test_item_id not like", value, "yfbTestItemId");
            return (Criteria) this;
        }

        public Criteria andYfbTestItemIdIn(List<String> values) {
            addCriterion("yfb_test_item_id in", values, "yfbTestItemId");
            return (Criteria) this;
        }

        public Criteria andYfbTestItemIdNotIn(List<String> values) {
            addCriterion("yfb_test_item_id not in", values, "yfbTestItemId");
            return (Criteria) this;
        }

        public Criteria andYfbTestItemIdBetween(String value1, String value2) {
            addCriterion("yfb_test_item_id between", value1, value2, "yfbTestItemId");
            return (Criteria) this;
        }

        public Criteria andYfbTestItemIdNotBetween(String value1, String value2) {
            addCriterion("yfb_test_item_id not between", value1, value2, "yfbTestItemId");
            return (Criteria) this;
        }

        public Criteria andYfbTestDevelopsortIsNull() {
            addCriterion("yfb_test_developsort is null");
            return (Criteria) this;
        }

        public Criteria andYfbTestDevelopsortIsNotNull() {
            addCriterion("yfb_test_developsort is not null");
            return (Criteria) this;
        }

        public Criteria andYfbTestDevelopsortEqualTo(String value) {
            addCriterion("yfb_test_developsort =", value, "yfbTestDevelopsort");
            return (Criteria) this;
        }

        public Criteria andYfbTestDevelopsortNotEqualTo(String value) {
            addCriterion("yfb_test_developsort <>", value, "yfbTestDevelopsort");
            return (Criteria) this;
        }

        public Criteria andYfbTestDevelopsortGreaterThan(String value) {
            addCriterion("yfb_test_developsort >", value, "yfbTestDevelopsort");
            return (Criteria) this;
        }

        public Criteria andYfbTestDevelopsortGreaterThanOrEqualTo(String value) {
            addCriterion("yfb_test_developsort >=", value, "yfbTestDevelopsort");
            return (Criteria) this;
        }

        public Criteria andYfbTestDevelopsortLessThan(String value) {
            addCriterion("yfb_test_developsort <", value, "yfbTestDevelopsort");
            return (Criteria) this;
        }

        public Criteria andYfbTestDevelopsortLessThanOrEqualTo(String value) {
            addCriterion("yfb_test_developsort <=", value, "yfbTestDevelopsort");
            return (Criteria) this;
        }

        public Criteria andYfbTestDevelopsortLike(String value) {
            addCriterion("yfb_test_developsort like", value, "yfbTestDevelopsort");
            return (Criteria) this;
        }

        public Criteria andYfbTestDevelopsortNotLike(String value) {
            addCriterion("yfb_test_developsort not like", value, "yfbTestDevelopsort");
            return (Criteria) this;
        }

        public Criteria andYfbTestDevelopsortIn(List<String> values) {
            addCriterion("yfb_test_developsort in", values, "yfbTestDevelopsort");
            return (Criteria) this;
        }

        public Criteria andYfbTestDevelopsortNotIn(List<String> values) {
            addCriterion("yfb_test_developsort not in", values, "yfbTestDevelopsort");
            return (Criteria) this;
        }

        public Criteria andYfbTestDevelopsortBetween(String value1, String value2) {
            addCriterion("yfb_test_developsort between", value1, value2, "yfbTestDevelopsort");
            return (Criteria) this;
        }

        public Criteria andYfbTestDevelopsortNotBetween(String value1, String value2) {
            addCriterion("yfb_test_developsort not between", value1, value2, "yfbTestDevelopsort");
            return (Criteria) this;
        }

        public Criteria andYfbTestTestsortIdIsNull() {
            addCriterion("yfb_test_testsort_id is null");
            return (Criteria) this;
        }

        public Criteria andYfbTestTestsortIdIsNotNull() {
            addCriterion("yfb_test_testsort_id is not null");
            return (Criteria) this;
        }

        public Criteria andYfbTestTestsortIdEqualTo(Integer value) {
            addCriterion("yfb_test_testsort_id =", value, "yfbTestTestsortId");
            return (Criteria) this;
        }

        public Criteria andYfbTestTestsortIdNotEqualTo(Integer value) {
            addCriterion("yfb_test_testsort_id <>", value, "yfbTestTestsortId");
            return (Criteria) this;
        }

        public Criteria andYfbTestTestsortIdGreaterThan(Integer value) {
            addCriterion("yfb_test_testsort_id >", value, "yfbTestTestsortId");
            return (Criteria) this;
        }

        public Criteria andYfbTestTestsortIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("yfb_test_testsort_id >=", value, "yfbTestTestsortId");
            return (Criteria) this;
        }

        public Criteria andYfbTestTestsortIdLessThan(Integer value) {
            addCriterion("yfb_test_testsort_id <", value, "yfbTestTestsortId");
            return (Criteria) this;
        }

        public Criteria andYfbTestTestsortIdLessThanOrEqualTo(Integer value) {
            addCriterion("yfb_test_testsort_id <=", value, "yfbTestTestsortId");
            return (Criteria) this;
        }

        public Criteria andYfbTestTestsortIdIn(List<Integer> values) {
            addCriterion("yfb_test_testsort_id in", values, "yfbTestTestsortId");
            return (Criteria) this;
        }

        public Criteria andYfbTestTestsortIdNotIn(List<Integer> values) {
            addCriterion("yfb_test_testsort_id not in", values, "yfbTestTestsortId");
            return (Criteria) this;
        }

        public Criteria andYfbTestTestsortIdBetween(Integer value1, Integer value2) {
            addCriterion("yfb_test_testsort_id between", value1, value2, "yfbTestTestsortId");
            return (Criteria) this;
        }

        public Criteria andYfbTestTestsortIdNotBetween(Integer value1, Integer value2) {
            addCriterion("yfb_test_testsort_id not between", value1, value2, "yfbTestTestsortId");
            return (Criteria) this;
        }

        public Criteria andYfbTestContentIsNull() {
            addCriterion("yfb_test_content is null");
            return (Criteria) this;
        }

        public Criteria andYfbTestContentIsNotNull() {
            addCriterion("yfb_test_content is not null");
            return (Criteria) this;
        }

        public Criteria andYfbTestContentEqualTo(String value) {
            addCriterion("yfb_test_content =", value, "yfbTestContent");
            return (Criteria) this;
        }

        public Criteria andYfbTestContentNotEqualTo(String value) {
            addCriterion("yfb_test_content <>", value, "yfbTestContent");
            return (Criteria) this;
        }

        public Criteria andYfbTestContentGreaterThan(String value) {
            addCriterion("yfb_test_content >", value, "yfbTestContent");
            return (Criteria) this;
        }

        public Criteria andYfbTestContentGreaterThanOrEqualTo(String value) {
            addCriterion("yfb_test_content >=", value, "yfbTestContent");
            return (Criteria) this;
        }

        public Criteria andYfbTestContentLessThan(String value) {
            addCriterion("yfb_test_content <", value, "yfbTestContent");
            return (Criteria) this;
        }

        public Criteria andYfbTestContentLessThanOrEqualTo(String value) {
            addCriterion("yfb_test_content <=", value, "yfbTestContent");
            return (Criteria) this;
        }

        public Criteria andYfbTestContentLike(String value) {
            addCriterion("yfb_test_content like", value, "yfbTestContent");
            return (Criteria) this;
        }

        public Criteria andYfbTestContentNotLike(String value) {
            addCriterion("yfb_test_content not like", value, "yfbTestContent");
            return (Criteria) this;
        }

        public Criteria andYfbTestContentIn(List<String> values) {
            addCriterion("yfb_test_content in", values, "yfbTestContent");
            return (Criteria) this;
        }

        public Criteria andYfbTestContentNotIn(List<String> values) {
            addCriterion("yfb_test_content not in", values, "yfbTestContent");
            return (Criteria) this;
        }

        public Criteria andYfbTestContentBetween(String value1, String value2) {
            addCriterion("yfb_test_content between", value1, value2, "yfbTestContent");
            return (Criteria) this;
        }

        public Criteria andYfbTestContentNotBetween(String value1, String value2) {
            addCriterion("yfb_test_content not between", value1, value2, "yfbTestContent");
            return (Criteria) this;
        }

        public Criteria andYfbTestCreatetimeIsNull() {
            addCriterion("yfb_test_createtime is null");
            return (Criteria) this;
        }

        public Criteria andYfbTestCreatetimeIsNotNull() {
            addCriterion("yfb_test_createtime is not null");
            return (Criteria) this;
        }

        public Criteria andYfbTestCreatetimeEqualTo(String value) {
            addCriterion("yfb_test_createtime =", value, "yfbTestCreatetime");
            return (Criteria) this;
        }

        public Criteria andYfbTestCreatetimeNotEqualTo(String value) {
            addCriterion("yfb_test_createtime <>", value, "yfbTestCreatetime");
            return (Criteria) this;
        }

        public Criteria andYfbTestCreatetimeGreaterThan(String value) {
            addCriterion("yfb_test_createtime >", value, "yfbTestCreatetime");
            return (Criteria) this;
        }

        public Criteria andYfbTestCreatetimeGreaterThanOrEqualTo(String value) {
            addCriterion("yfb_test_createtime >=", value, "yfbTestCreatetime");
            return (Criteria) this;
        }

        public Criteria andYfbTestCreatetimeLessThan(String value) {
            addCriterion("yfb_test_createtime <", value, "yfbTestCreatetime");
            return (Criteria) this;
        }

        public Criteria andYfbTestCreatetimeLessThanOrEqualTo(String value) {
            addCriterion("yfb_test_createtime <=", value, "yfbTestCreatetime");
            return (Criteria) this;
        }

        public Criteria andYfbTestCreatetimeLike(String value) {
            addCriterion("yfb_test_createtime like", value, "yfbTestCreatetime");
            return (Criteria) this;
        }

        public Criteria andYfbTestCreatetimeNotLike(String value) {
            addCriterion("yfb_test_createtime not like", value, "yfbTestCreatetime");
            return (Criteria) this;
        }

        public Criteria andYfbTestCreatetimeIn(List<String> values) {
            addCriterion("yfb_test_createtime in", values, "yfbTestCreatetime");
            return (Criteria) this;
        }

        public Criteria andYfbTestCreatetimeNotIn(List<String> values) {
            addCriterion("yfb_test_createtime not in", values, "yfbTestCreatetime");
            return (Criteria) this;
        }

        public Criteria andYfbTestCreatetimeBetween(String value1, String value2) {
            addCriterion("yfb_test_createtime between", value1, value2, "yfbTestCreatetime");
            return (Criteria) this;
        }

        public Criteria andYfbTestCreatetimeNotBetween(String value1, String value2) {
            addCriterion("yfb_test_createtime not between", value1, value2, "yfbTestCreatetime");
            return (Criteria) this;
        }

        public Criteria andYfbTestVersionIsNull() {
            addCriterion("yfb_test_version is null");
            return (Criteria) this;
        }

        public Criteria andYfbTestVersionIsNotNull() {
            addCriterion("yfb_test_version is not null");
            return (Criteria) this;
        }

        public Criteria andYfbTestVersionEqualTo(String value) {
            addCriterion("yfb_test_version =", value, "yfbTestVersion");
            return (Criteria) this;
        }

        public Criteria andYfbTestVersionNotEqualTo(String value) {
            addCriterion("yfb_test_version <>", value, "yfbTestVersion");
            return (Criteria) this;
        }

        public Criteria andYfbTestVersionGreaterThan(String value) {
            addCriterion("yfb_test_version >", value, "yfbTestVersion");
            return (Criteria) this;
        }

        public Criteria andYfbTestVersionGreaterThanOrEqualTo(String value) {
            addCriterion("yfb_test_version >=", value, "yfbTestVersion");
            return (Criteria) this;
        }

        public Criteria andYfbTestVersionLessThan(String value) {
            addCriterion("yfb_test_version <", value, "yfbTestVersion");
            return (Criteria) this;
        }

        public Criteria andYfbTestVersionLessThanOrEqualTo(String value) {
            addCriterion("yfb_test_version <=", value, "yfbTestVersion");
            return (Criteria) this;
        }

        public Criteria andYfbTestVersionLike(String value) {
            addCriterion("yfb_test_version like", value, "yfbTestVersion");
            return (Criteria) this;
        }

        public Criteria andYfbTestVersionNotLike(String value) {
            addCriterion("yfb_test_version not like", value, "yfbTestVersion");
            return (Criteria) this;
        }

        public Criteria andYfbTestVersionIn(List<String> values) {
            addCriterion("yfb_test_version in", values, "yfbTestVersion");
            return (Criteria) this;
        }

        public Criteria andYfbTestVersionNotIn(List<String> values) {
            addCriterion("yfb_test_version not in", values, "yfbTestVersion");
            return (Criteria) this;
        }

        public Criteria andYfbTestVersionBetween(String value1, String value2) {
            addCriterion("yfb_test_version between", value1, value2, "yfbTestVersion");
            return (Criteria) this;
        }

        public Criteria andYfbTestVersionNotBetween(String value1, String value2) {
            addCriterion("yfb_test_version not between", value1, value2, "yfbTestVersion");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}